﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _3._1_MaiJi
{
    class Program
    {
        static void Main(string[] args)
        {
            int gj, mj, xj;
            int count = 0;
            for ( gj=1; gj < 100/3; gj++) {
                for (mj = 1; mj < 100/2; mj++)
                {
                    for (xj = 1; xj < 200; xj++)
                    {
                        if ((3 * gj) + (2 * mj) + (0.5 * xj) == 100&&gj+mj+xj==100)
                        {
                            count=count+1;
                            Console.WriteLine("公鸡：{0}   母鸡：{1}   小鸡：{2}",gj,mj,xj);
                        }
                    }
                }

                  
                
            }
            Console.WriteLine(count);
            Console.ReadLine();
        }
    }
}
